package com.robusta.cityuate.activities;

import android.content.Context;
import android.os.Bundle;
import android.support.v4.app.FragmentTransaction;

import com.actionbarsherlock.app.ActionBar;
import com.robusta.cityuate.R;
import com.robusta.cityuate.base.CityuateFragmentMenuActivity;
import com.robusta.cityuate.fragments.FavoriteListFragment;

public class FavoriteSpotsActivity extends CityuateFragmentMenuActivity {

	private Context mContext = this;
	private ActionBar mActionBar;


	
	private FavoriteListFragment spotsFragment;

	@Override
	public void onCreate(Bundle arg0) {
		super.onCreate(arg0);
		setContentView(R.layout.manage_my_spots_view);
		mActionBar = getSupportActionBar();
		mActionBar.setTitle(R.string.favorite_spots);
		spotsFragment = FavoriteListFragment.getInstant(mContext, 2);
		FragmentTransaction ft = getSupportFragmentManager().beginTransaction();
		ft.add(R.id.frag_holder, spotsFragment).commit();

	}

	
}
